Skip to content

docs(plans): scope Step 12 — compat removal and v1 deletion#49

Open
MCamner wants to merge 1 commit into
mainfrom
docs/step-12-plan
Open

docs(plans): scope Step 12 — compat removal and v1 deletion#49
MCamner wants to merge 1 commit into
mainfrom
docs/step-12-plan

Conversation

@MCamner

@MCamner MCamner commented Jul 5, 2026

Copy link
Copy Markdown
Owner

What

Adds docs/plans/step-12-v1-removal.md — the grounded plan for the final v2.0.0 step (delete terminal/mqlaunch-v1/). Plan doc only; no runtime, no ROADMAP changes.

Scope (verified against the code, 2026-07-05)

v1 is 24 files / ~1629 LOC, but its live surface is tiny and mostly already dead:

  • dev / tools — the launcher already uses the live dev_menu_loop / tools_menu_loop; the v1 bridge functions (open_v1_dev_menu, run_v1_dev_command, tools equivalents) have zero live callers. Dead-code decommission.
  • performance — the one real migration: mq-performance-menu.sh sources v1/commands/performance.sh (504 LOC) and performance-bridge.sh subprocesses v1.

Sequenced (6 workstreams, lowest-risk-first, one PR each)

12.1/12.2 drop the dead dev/tools bridges → 12.3 golden-snapshot performance output → 12.4 migrate performance.sh to a live lib (HIGH) → 12.5 ALLOW list empty + freeze gate green → 12.6 delete the v1 tree (incl. its duplicate lib/ui.sh, closing the last "one UI authority" DoD item).

Gates: golden snapshot before the performance migration (R1 — no output drift), freeze-gate + grep sweep prove zero live→v1 before deletion (R6). The plan also flags that v1's lib/ui.sh may surface a header/format delta on migration — to be treated as a deliberate behavior change, not silent.

Part of the v2.0.0 runtime-authority track; unblocked by Step 11a.

🤖 Generated with Claude Code

Add docs/plans/step-12-v1-removal.md: the grounded plan for the final v2.0.0
step. Verified against the code (2026-07-05) that v1's live surface is only the
performance/dev/tools entry points, that dev/tools bridge functions have zero
live callers (already off v1), and that performance is the one real migration
(mq-performance-menu.sh sources v1/commands/performance.sh, 504 LOC). Sequences
six workstreams lowest-risk-first, with a golden-snapshot gate before the
performance migration and freeze-gate/grep gates before deleting the 24-file v1
tree (incl. its duplicate lib/ui.sh).

Plan doc only; no runtime or ROADMAP changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant